package ru.spbsu.electromenu.storage;

import java.util.List;

/**
 * Date: 3/20/11
 * Time: 1:03 PM
 *
 * @author Artem Titov
 */
public interface Storage<T> {
    T get(final int id);

    int put(final T object);

    int update(final T object);

    int delete(final int id);

    List<T> getALl();
}
